﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Game.Service.Client.Export
{
    /// <summary>
    /// 投注反馈结果,记录成功的投注量
    /// </summary>
    [DataContract]
    public class BettingResultExport
    {

        public BettingResultExport(Iworld.Game.Manager.BettingManager.TempBetting tm)
        {
            this.GameRoundNum = tm.GameRoundNum;
            this.Spade = tm.Spade;
            this.Heart = tm.Heart;
            this.Club = tm.Club;
            this.Diamond = tm.Diamond;
            this.King = tm.King;
        }

        /// <summary>
        /// 投注牌局号
        /// </summary>
        [DataMember]
        public int GameRoundNum { set; get; }

        /// <summary>
        /// 黑桃的成功投注量
        /// </summary>
        [DataMember]
        public double Spade { set; get; }

        /// <summary>
        /// 红桃的成功投注量
        /// </summary>
        [DataMember]
        public double Heart { set; get; }

        /// <summary>
        /// 梅花的成功投注量
        /// </summary>
        [DataMember]
        public double Club { set; get; }

        /// <summary>
        /// 方块的成功投注量
        /// </summary>
        [DataMember]
        public double Diamond { set; get; }

        /// <summary>
        /// 王的成功投注量
        /// </summary>
        [DataMember]
        public double King { set; get; }
    }
}
